package com.timoon.component.behavior.highcharts;

import org.apache.wicket.request.resource.JavaScriptResourceReference;

import com.googlecode.wicket.jquery.ui.JQueryBehavior;
import com.googlecode.wicket.jquery.ui.Options;
import com.timoon.component.behavior.jbox.AbstractJboxBehavior;

/**
 *<p></p>
 *<p></p>
 *<p>Copyright:Copyright(c)2013</p>
 *<p>Company:timoon</p>
 *@author 付乐天
 *@version 1.0 */

public class AbstractHighChartsBehavior extends JQueryBehavior {
	private static final long serialVersionUID = 4985976246508563930L;

	public AbstractHighChartsBehavior(String selector, String method,
			Options options) {
		super(selector, method, options);
		// TODO Auto-generated constructor stub
		
		this.add(new JavaScriptResourceReference(AbstractHighChartsBehavior.class, "highcharts.js"));
		this.add(new JavaScriptResourceReference(AbstractHighChartsBehavior.class, "exporting.js"));
		this.add(new JavaScriptResourceReference(AbstractHighChartsBehavior.class, "highchartsSetOp.js"));
		this.add(new JavaScriptResourceReference(AbstractHighChartsBehavior.class, "runPie.js"));
	}

}
